{include file="header.tpl" title="Them moi Par_rtypel "}
<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="19%">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
 {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  
  <tr>
     <td width="19%">
	 	{$lbl_Brncode}	 </td>
     <td width="23%" style="color:#FF0000">
	 	<select name="Brncode" id="Brncode" onChange="document.getElementById('findGD').click();" style="width:125px" {if $activefield eq 'enabled' } disabled="disabled"{/if}>
			<option value=""></option>
			 {foreach from=$BRNCODE key=k item=v}
			<option value="{$k}" {if $k eq $Brncode} selected="selected" {/if} >{$v}</option>
		  {/foreach}
		</select>
		
		<input id="replacement_find" type="submit" name="find" value="    "  {if $activefield eq 'enabled'} disabled="disabled"{/if}/>
		
		<input type="hidden" name="tmpBrncode" value="{$Brncode}">
		
	 </td> 
	 <td width="16%">{$lbl_Deptcd}</td>
    <td width="42%">
		<select name="Deptcd" size="1" {if $activefield eq 'enabled' } disabled="disabled"{/if}>
		  {foreach from=$DEPTCD key=k item=v}
			<option value="{$k}" {if $Deptcd eq $k} selected="selected" {/if} >{$v}</option>
		  {/foreach}
		</select>
		<input type="hidden" name="tmpDeptcd" value="{$Deptcd}" >
		<input type="submit" id="findGD" name="findGD" style="visibility:hidden;" value=" "/>
	</td>
   </tr>
  <tr>
    <td>{$lbl_Merchantid}</td>
    <td><input name="Merchantid" id="Merchantid" type="text" style="background:{$colorMerchantid}" value="{$Merchantid}" size="20" maxlength="20" {if $activefield eq 'enabled' } disabled="disabled"{/if}/>
	
	<input type="hidden" name="tmpMerchantid" value="{$Merchantid}">
	</td>
	<td nowrap="nowrap">{$lbl_STATUS}</td>
	
    <td >
		<select name="STATUS" size="1" onchange="changevalue('hanhdong1');" >
			  <option value=""></option>	
		 {foreach from=$cbo_Status_par_crmerinfo key=k item=v}
			  <option value="{$k}" {if $STATUS eq $k} selected="selected" {/if}>{$k} - {$v}</option>
			{/foreach}
		</select>
		<input type="hidden" name="tmpSTATUS" value="{$STATUS}">
	</td>
  
<tr>
<td colspan="4" align="right">
<input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'Brncode-Deptcd-Merchantid');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />

<input type="submit" name="capnhat" value="{$ten_cap_nhat}"  class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"  /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td >
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
